<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工具向导: 使用 Rational Rose 构造用例模型</title>
<meta content="ToolMentor" name="uma.type">
<meta content="structure_use_case_model_tm" name="uma.name">
<meta content="使用 Rational Rose 构造用例模型" name="uma.presentationName">
<meta content="Tool:rup_rose_classic:Rational Rose" name="uma.category">
<meta name="element_type" content="tool_mentor">
<meta content="Rational Rose" name="tool">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_gpYSoAILEdq-_NKqZM1EhA", "_qS-iwAIOEdqTna4sZVFRow", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{5A5948AA-9F9A-4752-A337-F0A1845974A7}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_U5tiUAISEdqTna4sZVFRow", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{5A5948AA-9F9A-4752-A337-F0A1845974A7}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{5A5948AA-9F9A-4752-A337-F0A1845974A7}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{5A5948AA-9F9A-4752-A337-F0A1845974A7}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工具向导：使用 Rational Rose 构造用例模型</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../../images/toolmentor.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">此工具向导描述如何使用 Rational Rose 记录参与者与用例之间的关系。</td>
</tr>
<tr>
<td>工具：<a href="./../../../core.base_rup/tools/rup_rose_classic_20F2524D.html" guid="{06FB737B-5D74-4C3B-98F4-36153CFB2E34}">Rational Rose</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">相关元素</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../core.base_rup/tasks/structure_use_case_model_93D8F44.html" guid="{F7D9D038-B184-43CC-9353-15BA154F87B5}">构造用例模型</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">主要描述</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><h3>
    概述
</h3>
<p>
    以下是记录参与者与用例之间的关系时所执行的步骤摘要：
</p>
<ol>
    <li>
        <a href="#Document Actor-Generalizations">记录参与者泛化关系</a>
    </li>
    <li>
        <a href="#Document Include-Relationships Between Use Cases">记录用例之间的包含关系</a>
    </li>
    <li>
        <a href="#Document Extend-Relationships Between Use Cases">记录用例之间的扩展关系</a>
    </li>
    <li>
        <a href="#Document Use-Case Generalizations">记录用例泛化关系</a>
    </li>
</ol>
<p>
    有关用例图的详细信息，请参阅：
</p>
<ul>
    <li>
        <p>
            <img height="16" alt="帮助手册图标" hspace="0" src="./../../../core.base_rup/resources/helpbook.gif" width="16" border="0" /> Rational
            Rose 联机帮助中的 <span style="FONT-STYLE: italic">Use-Case Diagrams (Overview)</span> 主题
        </p>
    </li>
    <li>
        <img height="15" alt="手册图标" hspace="0" src="./../../../core.base_rup/resources/book.gif" width="16" border="0" /> <span         style="FONT-STYLE: italic">Chapter 4, Introduction to Diagrams</span> 和 <span style="FONT-STYLE: italic">Chapter 7,
        Use-Case Diagrams and Specifications</span>。参考：<i>Using Rational Rose</i>。
    </li>
</ul>
<h3>
    1. <a id="Document Actor-Generalizations" name="Document Actor-Generalizations"></a>记录参与者泛化关系<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    通过从用例图工具框使用泛化关系绘制工具，您可以在用例图中插入业务参与者之间的泛化关系。一旦创建了关系，您就可以通过在“泛化规范”对话框的“文档”字段中添加文本来描述它。
</p>
<h3>
    2. <a id="Document Include-Relationships Between Use Cases" name="Document Include-Relationships Between Use Cases"></a>记录用例之间的包含关系<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    要在用例图中创建两个用例之间的包含关系，请首先在两个用例之间创建依赖关系，然后对该依赖关系指定包含构造型。当一个用例使用另一个用例的功能时，您将使用包含构造型。所使用的用例通常包含许多其他用例可能需要或想要的功能。
</p>
<p>
    一旦创建了用例之间的依赖关系，您就可以通过在依赖关系规范的“文档”字段中添加文本来描述该关系。
</p>
<h3>
    3. <a id="Document Extend-Relationships Between Use Cases" name="Document Extend-Relationships Between Use Cases"></a>记录用例之间的扩展关系<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    要在用例图中创建两个用例之间的扩展关系，请首先在两个用例之间创建依赖关系，然后对该依赖关系指定扩展构造型。您可以使用扩展构造型来表达用例的可选或条件行为。
</p>
<p>
    一旦创建了用例之间的关联，您就可以通过在依赖关系规范的“文档”字段中添加文本来描述该关系。
</p>
<h3>
    4. <a id="Document Use-Case Generalizations" name="Document Use-Case Generalizations"></a>记录用例泛化关系<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    当一个业务案例提供公共功能时（例如，当您具有为具体用例提供公共功能的抽象用例时），您可以创建两个业务案例之间的泛化关系。
</p>
<p>
    一旦创建了用例之间的泛化关系，您就可以通过在泛化规范的“文档”字段中添加文本来描述该关系。
</p></td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
